<template>
	<view class="content" @click="gotodemo2">
		跳转到demo2
	</view>
</template>

<script setup>
function gotodemo2(){
	uni.navigateTo({
		url:"/pages/demo/demo2"
	})
}
onLoad((e)=>{
	console.log(e);
})
</script>

<style lang="scss">
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
</style>
